<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/wslds-tags" prefix="lds"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="${ contextPath }/views/front/ajaxArticle${ min }.js" type="text/javascript"></script>
	<!-- TODO -->
	<lds:page url="article/listAjaxArticleWeb.action" adapter="${adapter}" queryString="${queryString}"  />
	<div class="clear" ></div>
	<div class="content_content">
		<c:forEach items="${adapter.data}" var="article">
			
			
			<div class="log_block">
				<div class="log_date">
					<s:date name="#attr.article.createDate" format="yyyy-MM-dd" />
				</div>
				<div class="log_title">
					<a href="${contextPath}/blog/${ article.id }">${ article.title }</a>&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
				<div class="log_type">
					<label>
						文章分类：
					</label>
					<span>
						<a href="${contextPath}/search/type/${ article.type.id }" >${ article.type.name }</a>
						</span>
					&nbsp;&nbsp;
					<label>
						标签：
					</label>
					<c:forEach var="tag" items="${ article.tagList }"  >
						<span style="color:#2ddf2d;" >
							<a href="${contextPath}/search/tag/${ tag.tagId }" >${ tag.name }</a>
						</span>&nbsp;
					</c:forEach>
				</div>
				<div class="log_content">
					${ article.content }
				</div>
				<div class="log_foot">
					<div>
						<s:date name="#attr.article.createDate" format="hh:mm" />
					</div>
					<div>
						浏览(${ article.viewSum })
					</div>
					<div>
						评论(${ article.reviewCount })
					</div>
				</div>
			</div>
			<div class="content_blank"></div>
		</c:forEach>
	</div>
	<div class="clear" ></div>
	<br/><br/>
	<lds:page url="listAjaxArticleWeb.action" adapter="${adapter}"  />